<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=800">
<style>
html { font-size: 16px; }
body { width: 800px; margin: 0; overflow-y: hidden; }
</style>

<script src="resources/autosizingTest.js"></script>

</head>
<body>
    <svg width="1" height="1"><path/></svg>
    This test passes if it does not crash.
    <script>
        if (window.testRunner)
            testRunner.dumpAsText();
    </script>
</body>
</html>
